package org.shj.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * 加入 spring-cloud-starter-sleuth 的依赖后，每次请求可得到类似下面的日志信息：
 * 2018-04-10 13:27:42.667 DEBUG [microservice-provider-user-trace,4beb4113330bc9ed,4beb4113330bc9ed,false] 1708 ...... : DispatcherServlet with name 'dispatcherServlet' processing GET request for [/2]
 * 2018-04-10 13:27:42.895 DEBUG [microservice-provider-user-trace,4beb4113330bc9ed,4beb4113330bc9ed,false] 1708 ...... : Successfully completed request
 * 
 * @author huangjian
 *
 */
@SpringBootApplication
public class UserTraceApplication {

	public static void main(String[] args) {
        SpringApplication.run(UserTraceApplication.class, args);
    }
}
